/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service.inventory;

import java.util.List;
import java.util.Map;
import model.inventory.ItemSupplier;
import model.inventory.ItemSupplierId;
import utility.NameValueList;

/**
 *
 * @author jay
 */
public interface ItemSupplierService {
    boolean save(ItemSupplier data);
    boolean delete(ItemSupplier data);
    ItemSupplier get(ItemSupplierId id);
    ItemSupplier get(int itemId, String kode);
    Long count(Map<NameValueList, Object> params);
    Boolean isExist(Map<NameValueList, Object> params);
    List<ItemSupplier> getAll(int start, int num, Map<NameValueList, Object> params);
    List<ItemSupplier> getAll(Map<NameValueList, Object> params);
    
}
